package com.tanhua.houtai.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("tb_publish_info")
public class PublishInfo {

    private Integer id;
    @TableField("user_id")
    private Integer userId;//用户id
    @TableField("publish_id")
    private String publishId; //发布内容Id
    @TableField("top_state")
    private Integer topState; //置顶状态，1为未置顶，2为置顶

    //审核状态，1为待审核，2为自动审核通过，
    // 3为待人工审核，4为人工审核拒绝，5为人工审核通过，6为自动审核拒绝
    private Integer state;
    @TableField("love_count")
    private Integer loveCount;//喜欢数
    @TableField("like_count")
    private Integer likeCount;   //点赞数
    @TableField("comment_count")
    private Integer commentCount; //评论数
    @TableField("report_count")
    private Integer reportCount;  //举报数
    @TableField("forwarding_count")
    private Integer forwardingCount;   //转发数
    @TableField("create_date")
    private Long createDate;  //发布时间
    private Long created;     //创建时间
    private Long updated;      //更新时间
}
